<?php

class Form_Address extends QForm
{
	function __construct($action)
	{
		parent::__construct('form_address', $action);
		
		$filename = rtrim(dirname(__FILE__), '/\\') . DS . 'address_form.yaml';
		$this->loadFromConfig(Helper_YAML::loadCached($filename));
		$this->addValidations(Address::meta());
	}
}